<?php

/**
 * Generated Model class.
 */
class Base_TurnTimeRow extends Db_Row
{

    /**
     * Set new value for turn_time.id column in current Row.
     * 
     * @param int $IdFromTurnTimeRow
     * @return void
     */
    public function setId($Id)
    {
        $this->__set("id", $Id);
    }

    /**
     * Return turn_time.id column value in current Row.
     * 
     * @return int
     */
    public function getId()
    {
        return $this->__get("id");
    }

    /**
     * Set new value for turn_time.turn_id column in current Row.
     * 
     * @param int $TurnIdFromTurnTimeRow
     * @return void
     */
    public function setTurnId($TurnId)
    {
        $this->__set("turn_id", $TurnId);
    }

    /**
     * Return turn_time.turn_id column value in current Row.
     * 
     * @return int
     */
    public function getTurnId()
    {
        return $this->__get("turn_id");
    }

    /**
     * Return parent row from table turn where turn_time.turn_id = turn.id
     * 
     * @param Db_Select $selectFromTurn
     * @return TurnRow
     */
    public function getTurnRowByTurnId($select = null)
    {
        return $this->findParentRow('TurnPeer', null, $select);
    }

    /**
     * Set new value for turn_time.time column in current Row.
     * 
     * @param time $TimeFromTurnTimeRow
     * @return void
     */
    public function setTime($Time)
    {
        $this->__set("time", $Time);
    }

    /**
     * Return turn_time.time column value in current Row.
     * 
     * @return time
     */
    public function getTime()
    {
        return $this->__get("time");
    }

    /**
     * Set new value for turn_time.created_at column in current Row.
     * 
     * @param datetime $CreatedAtFromTurnTimeRow
     * @return void
     */
    public function setCreatedAt($CreatedAt)
    {
        $this->__set("created_at", $CreatedAt);
    }

    /**
     * Return turn_time.created_at column value in current Row.
     * 
     * @return datetime
     */
    public function getCreatedAt()
    {
        return $this->__get("created_at");
    }

    /**
     * Set new value for turn_time.modified_at column in current Row.
     * 
     * @param timestamp $ModifiedAtFromTurnTimeRow
     * @return void
     */
    public function setModifiedAt($ModifiedAt)
    {
        $this->__set("modified_at", $ModifiedAt);
    }

    /**
     * Return turn_time.modified_at column value in current Row.
     * 
     * @return timestamp
     */
    public function getModifiedAt()
    {
        return $this->__get("modified_at");
    }


}

